using SqlSugar;

namespace ZhiKeDuoServer.Model
{
    /// <summary>
    /// 
    /// </summary>
    public class Supplier
    {
        private System.Int32 _Id;
        /// <summary>
        /// 
        /// </summary>
        [SugarColumn(IsIdentity = true)]
        public System.Int32 Id { get { return this._Id; } set { this._Id = value; } }

        private System.String _Name;
        /// <summary>
        /// 
        /// </summary>
        public System.String Name { get { return this._Name; } set { this._Name = value?.Trim(); } }

        private System.String _Addr;
        /// <summary>
        /// 
        /// </summary>
        public System.String Addr { get { return this._Addr; } set { this._Addr = value?.Trim(); } }

        private System.String _Contact;
        /// <summary>
        /// 
        /// </summary>
        public System.String Contact { get { return this._Contact; } set { this._Contact = value?.Trim(); } }

        private System.String _Phone;
        /// <summary>
        /// 
        /// </summary>
        public System.String Phone { get { return this._Phone; } set { this._Phone = value?.Trim(); } }

        private System.String _Code;
        /// <summary>
        /// 
        /// </summary>
        public System.String Code { get { return this._Code; } set { this._Code = value?.Trim(); } }

        private System.String _Account;
        /// <summary>
        /// 
        /// </summary>
        public System.String Account { get { return this._Account; } set { this._Account = value?.Trim(); } }

        private System.String _Bank;
        /// <summary>
        /// 
        /// </summary>
        public System.String Bank { get { return this._Bank; } set { this._Bank = value?.Trim(); } }

        private System.String _Oper;
        /// <summary>
        /// 
        /// </summary>
        public System.String Oper { get { return this._Oper; } set { this._Oper = value?.Trim(); } }

        private System.DateTime? _OperDate;
        /// <summary>
        /// 
        /// </summary>
        public System.DateTime? OperDate { get { return this._OperDate; } set { this._OperDate = value ?? default(System.DateTime); } }
        public int Shop { get; set; }
        public int syc { get; set; }
    }
}